package com.learn.hibernatevalidator.chapter07.valueextractor;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import javafx.beans.property.LongProperty;
import javafx.beans.property.ReadOnlyListProperty;
import javafx.beans.property.StringProperty;
import lombok.Data;

/**
 * @author: liyf
 * @create: 2025-01-18 22:45
 **/
@Data
public class ContainerFx {
    @NotBlank
    private StringProperty stringProperty;

    @Min(5)
    private LongProperty longProperty;

    @Size(min = 1)
    private ReadOnlyListProperty<@NotBlank String> listProperty;

}
